<html>
<body>
Reports methods marked with <code>@DataProvider</code> annotation that doesn't return <code>Object[][]</code> or <code>Iterator&lt;Object&gt;</code>.
If another type is returned, TestNG throws an exception.
<p>Example:</p>
<pre><code>
public class TestNgTest {
  @DataProvider(name = "Languages")
  List&lt;String&gt; getData() {
    return List.of("Java", "Kotlin");
  }

  @Test(dataProvider = "Languages")
  public void testData(String language) {
    System.out.println(language);
  }
}
</code></pre>
</body>
</html>